package com.saclub.app.bean.part;

import com.google.gson.annotations.SerializedName;
import com.offroader.utils.StringUtils;

public class User {

	@SerializedName("userid")
	private String uid;

	@SerializedName("user_name")
	private String name;

	@SerializedName("userpass")
	private String pwd;

	@SerializedName("user_email")
	private String email;

	@SerializedName("user_phone")
	private String phone;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public boolean isValide() {

		if (StringUtils.isNotBlank(uid) && !"0".equals(uid))
			return true;

		return false;
	}

}
